<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="utf-8">
      <title>20140925_1</title>
      <script>
      
      	document.write("<pre>");
   		/* 반복문 - for--------------------------------------------------------------- */
		var cars=["차하나","차두리","차서이","차너이","차닷세","차엿세","차이래","차여드래"]
   		
   		for(i=0, text="", len=cars.length ; i < len; i++)
   		{
   			document.writeln(cars[i]);
   		}
   		document.getElementById("i1").innerHTML=text;
   		
   		document.write("</pre>");
   		
   	</script>
   </head>

   <body>
      
   </body>
</html>